﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCNavigation.ascx.cs" Inherits="DrDynscriptWebApp._views._shared._components._security.CourtesyNavigation" %>
<%@ Register src="WUCLoggedInAs.ascx" tagname="WUCLoggedInAs" tagprefix="artreve" %>
<%@ Register src="WUCUserTokens.ascx" tagname="WUCUserTokens" tagprefix="artreve" %>
<asp:LoginView ID="LoginView" runat="server">
    <AnonymousTemplate>
        <ul id="courtesynavigation-links">
            <li><asp:HyperLink ID="linkAbout" runat="server" NavigateUrl="~/About.aspx">About</asp:HyperLink></li>
            <li>&nbsp;|&nbsp;</li>
            <li><asp:HyperLink ID="LinkRegister" runat="server" NavigateUrl="~/Register.aspx">Register</asp:HyperLink></li>
            <li><asp:HyperLink ID="linkLogin" runat="server" NavigateUrl="~/Login.aspx">Sign in</asp:HyperLink></li>
        </ul>
    </AnonymousTemplate>
    <LoggedInTemplate>
        <div id="courtesynavigation">
            <ul>
                <li class="loginid">
                    <asp:HyperLink ID="linkProfile" runat="server" NavigateUrl="~/MyProfile.aspx">
                        Hello, <artreve:WUCLoggedInAs ID="WUCLoggedInAs" runat="server" />
                    </asp:HyperLink>
                </li>
                <li>&nbsp;|&nbsp;</li>
                <li><asp:HyperLink ID="linkCategories" runat="server" NavigateUrl="~/Categories.aspx">Categories</asp:HyperLink></li>
                <li><asp:HyperLink ID="linkAbout" runat="server" NavigateUrl="~/About.aspx">About</asp:HyperLink></li>
                <li><asp:HyperLink ID="linkMyartreve" runat="server" NavigateUrl="~/Myartreve.aspx">My Artrêve</asp:HyperLink></li>
                <li><asp:HyperLink ID="linkArtboard" runat="server" NavigateUrl="~/Artboard.aspx">Artboard</asp:HyperLink></li>
                <li><asp:HyperLink ID="linkAllArt" runat="server" NavigateUrl="~/AllArt.aspx">AllArt</asp:HyperLink></li>
                <li>&nbsp;|&nbsp;</li>
                <li><asp:LoginStatus ID="LoginStatus" runat="server" LogoutText="Sign out" /></li>
            </ul>
        </div>

        <artreve:WUCUserTokens ID="WUCUserTokens" runat="server" />
    </LoggedInTemplate>
</asp:LoginView>